﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IntillisenseLib
{
    public class ContactObject   :ObjectTemplete
    {
        private String fullName;

        public String FullName
        {
            get { return fullName; }
            set { fullName = value; }
        }
        private String email;

        public String Email
        {
            get { return email; }
            set { email = value; }
        }
        private String address;

        public String Address
        {
            get { return address; }
            set { address = value; }
        }
        private String phoneNumber;

        public String PhoneNumber
        {
            get { return phoneNumber; }
            set { phoneNumber = value; }
        }

        public ContactObject()
        {
            ObjType = eObjectType.CONTACT;
        }
        public ContactObject(String name, String email, String address, String phoneNumber)
        {
            this.fullName = name;
            this.email = email;
            this.address = address;
            this.phoneNumber = phoneNumber;
            ObjType = eObjectType.CONTACT;
        }

        public override string GetParameterDisplayName()
        {
            return FullName;
        }

        public override string GetParameterValue()
        {
            return fullName;
        }

        public override string GetFullPath()
        {
            return "";
        }

        public override List<ObjectTemplete> GetAllChilds()
        {
            return null;
        }
    }
}
